package d01012;

public class AbsoluterTest {
    public static void main(String[] args){
        Absoluter absoluter = new Absoluter();
        System.out.println("绝对值为："+absoluter.abs(12));
        System.out.println("绝对值为："+absoluter.abs(-12));
        System.out.println("绝对值为："+absoluter.abs(12.34));
        System.out.println("绝对值为："+absoluter.abs(-12.34));
        System.out.println("绝对值为："+absoluter.abs(-12l));
        System.out.println("绝对值为："+absoluter.abs(-12.34f));
    }
}
